From 7a96e9df02ded5eec0ed04ed9513dc0f63031a6d Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 30 Jan 2006 04:25:56 +0000 Subject: [PATCH] #defines for USB packet types to improve readability. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1719 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/jeeps/garminusb.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gpsbabel/jeeps/garminusb.h b/gpsbabel/jeeps/garminusb.h index 7e07600da..638be5b01 100644 --- a/gpsbabel/jeeps/garminusb.h +++ b/gpsbabel/jeeps/garminusb.h @@ -57,3 +57,10 @@ int gusb_cmd_get(garmin_usb_packet *ibuf, size_t sz); int gusb_open(const char *portname); int gusb_close(const char *portname); int gusb_init(const char *portname); + +/* + * New packet types in USB. + */ +#define GUSB_SESSION_START 5 /* We request units attention */ +#define GUSB_SESSION_ACK 6 /* Unit responds that we have its attention */ +#define GUSB_REQUEST_BULK 2 /* Unit requests we read from bulk pipe */ -- 2.30.2